<?php
namespace app\common\validate;

use think\Validate;

class ImgValidate extends Validate
{
    protected $rule =   [
        'img|图片'       => 'require|file',
    ];
    
    protected $scene = [
        'img'     => ['img'],
    ];
}